<%@ include file="/common/taglibs.jsp"%>
<%@ page import="java.math.BigDecimal"
	contentType="text/html; charset=UTF-8"%>
<title>服务端验证框架测试页</title>

<probiz:showBindErrors bindPath="validationTestModel.*" />

<form class="mainForm" method="post" onsubmit="return true;">

<table style="width:800px" cellspacing="0" cellpadding="0" border="0" class="dataintable">
	<tr>
		<th width="200px;">服务端验证项</th>
		<td>验证field</td>
	</tr>
	<tr>
		<th>radio</th>
		<td>
			<input id="radio" type="radio" name="radioVal" value="radio1">
			radio1
			<input type="radio" name="radioVal" value="radio2" />
			radio2
			<input type="radio" name="radioVal" value="radio3" />
			radio3
			<form:errors path="validationTestModel.mobileVal" cssClass="fieldError" />
		</td>
	</tr>
	<tr>
		<th>checkbox</th>
		<td>
			<input id="checkboxVal" type="checkbox" name="checkboxVal" value="checkbox1">
			checkbox1
			<input type="checkbox" name="checkboxVal" value="checkbox2" />
			checkbox2
			<input type="checkbox" name="checkboxVal" value="checkbox3" />
			checkbox3
		</td>
	</tr>
	<tr>
		<th>number</th>
		<td>
			<input id="numberVal"  name="numberVal" value="" type="text"/><form:errors path="validationTestModel.numberVal" cssClass="fieldError" />
		</td>
	</tr>
	<tr>
		<th>integer</th>
		<td>
			<input id="integerVal" name="integerVal"  value="" type="text"/><form:errors path="validationTestModel.integerVal" cssClass="fieldError" />
		</td>
	</tr>
	<tr>
		<th>positiveInteger</th>
		<td>
			<input id="positiveIntegerVal"  name="positiveIntegerVal"  value="" type="text"/><form:errors path="validationTestModel.positiveIntegerVal" cssClass="fieldError" />
		</td>
	</tr>
	<tr>
		<th>short</th>
		<td>
			<input id="shortVal"  name="shortVal"  value="" type="text"/><form:errors path="validationTestModel.shortVal" cssClass="fieldError" />
		</td>
	</tr>
	<tr>
		<th>double</th>
		<td>
			<input id="doubleVal" name="doubleVal"  value="" type="text"/><form:errors path="validationTestModel.doubleVal" cssClass="fieldError" />
		</td>
	</tr>
	<tr>
		<th>double4</th>
		<td>
			<input id="double4Val" name="double4Val"  value="" type="text"/><form:errors path="validationTestModel.double4Val" cssClass="fieldError" />
		</td>
	</tr>
	<tr>
		<th>intRange</th>
		<td>	
			<input id="intRangeVal"  name="intRangeVal" value="" type="text"/><form:errors path="validationTestModel.intRangeVal" cssClass="fieldError" />
		</td>
	</tr>
	<tr>
		<th>floatRange</th>
		<td>	
			<input id="floatRangeVal"  name="floatRangeVal" value="" type="text"/><form:errors path="validationTestModel.floatRangeVal" cssClass="fieldError" />
		</td>
	</tr>
	<tr>
		<th>price</th>
		<td>
			<input id="priceVal"  name="priceVal" value="" type="text" validConf="price"/><form:errors path="validationTestModel.priceVal" cssClass="fieldError" />
		</td>
	</tr>
	<tr>
		<th>money</th>
		<td>
			<input id="moneyVal"  name="moneyVal" value="" type="text" validConf="money"/><form:errors path="validationTestModel.moneyVal" cssClass="fieldError" />
		</td>
	</tr>
	<tr>
		<th>code</th>
		<td>
			<input id="codeVal" name="codeVal"  value="" type="text"/><form:errors path="validationTestModel.codeVal" cssClass="fieldError" />
		</td>
	</tr>
	<tr>
		<th>chineseCode</th>
		<td>	
			<input id="chineseCodeVal" name="chineseCodeVal"  value="" type="text"/><form:errors path="validationTestModel.chineseCodeVal" cssClass="fieldError" />
		</td>
	</tr>
	<tr>
		<th>noHtml</th>
		<td>	
			<input id="noHtmlVal"  name="noHtmlVal" value="" type="text"/><form:errors path="validationTestModel.noHtmlVal" cssClass="fieldError" />
		</td>
	</tr>
	<tr>
		<th>phone</th>
		<td>
			<input id="phoneVal"  name="phoneVal" value="" type="text"/><form:errors path="validationTestModel.phoneVal" cssClass="fieldError" />
		</td>
	</tr>
	<tr>
		<th>mobile</th>
		<td>
			<input id="mobileVal"  name="mobileVal" value="" type="text"/><form:errors path="validationTestModel.mobileVal" cssClass="fieldError" />
		</td>
	</tr>
	<tr>
		<th>email</th>
		<td>
			<input id="emailVal"  name="emailVal" value="" type="text"/><form:errors path="validationTestModel.emailVal" cssClass="fieldError" />
		</td>
	</tr>
	<tr>
		<th>url</th>
		<td>
			<input id="urlVal"  name="urlVal" value="" type="text"/><form:errors path="validationTestModel.urlVal" cssClass="fieldError" />
		</td>
	</tr>
	<tr>
		<th>date</th>
		<td>	
			<input id="dateVal"  name="dateVal" value="" type="text"/><form:errors path="validationTestModel.dateVal" cssClass="fieldError" />
		</td>
	</tr>
	<tr>
		<th>mask</th>
		<td>	
			<input id="maskVal"  name="maskVal" value="" type="text"/><form:errors path="validationTestModel.maskVal" cssClass="fieldError" />
		</td>
	</tr>
	
	<tr>
		<th>twofields</th>
		<td>	
			<input id="twofields1"  name="twofields1Val" value="" type="text" />
			<input id="twofields2"  name="twofields2Val" value="" type="text"/><form:errors path="validationTestModel.twofields2Val" cssClass="fieldError" />
		</td>
	</tr>
	
	
	
	
</table>
<input type="hidden" name="doAction" value="save"/>
<input type="submit" value="Submit" >
</form>
<script type="text/javascript">
$j(document).ready(function(){
});
</script>
